package ioc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lv_03575 on 2017/9/21.
 */
@Service
public class HelloService {

    @Autowired
    HelloDao dao;

    public  void invokeDao(){
        dao.toSay();
    }
}
